package com.zkingsoft.bean;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.matrix.core.anotations.Extend;
import com.zkingsoft.common.bean.EntityDTOExt;

/**
 * @description (活动)
 * @author 何明
 * @date 2018-05-23 09:24
 */
public class BizActivities  extends EntityDTOExt{
	@Extend
	private static final long serialVersionUID = 1L; 

	
	/**
	 * 主键
	 */
	private String  actId;
			
	
	/**
	 * 用户
	 */
	private String  userId;
			
	
	/**
	 * 活动类型：1、拼团 2、砍价 3、报名
	 */
	private Integer  actType;
			
	
	/**
	 * 活动标题
	 */
	private String  actTitle;
			
	
	/**
	 * 活动开始时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date  actStartTime;
			
	
	/**
	 * 活动结束时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date  actEndTime;
			
	
	/**
	 * 商品数量
	 */
	private Integer  actProductNum;
			
	
	/**
	 * 活动主图文字
	 */
	private String  actMainText;
			
	
	/**
	 * 活动介绍文字图片json
	 */
	private String  colIntroduce;
			
	
	/**
	 * 自定义表单
	 */
	private String  actCustomForm;
			
	
	/**
	 * 活动规则
	 */
	private String  actRule;
			
	
	/**
	 * 状态（1、上架  2、下架 3、删除）
	 */
	private Integer  actStatus;
			
	
	/**
	 * 商家信息（店铺，电话，地址）
	 */
	private String  actInfo;
			
	/**
	 * 拼团活动
	 */
	@Extend
	private BizCollage  collage;

	/**
	 * 拼团数量
	 */
	@Extend
	private Integer  colNum;
	
	/**
	 * 已团数量
	 */
	@Extend
	private Integer  saleNum;
	
	/**
	 * 商品价格
	 */
	@Extend
	private BigDecimal  actPrice;
	
	/**
	 * 是否热门
	 */
	@Extend
	private int  actIsHot;
	
	/**
	 * 团类型
	 */
	@Extend
	private String  colProgramme;
	
	
	
	
	public int getActIsHot() {
		return actIsHot;
	}

	public void setActIsHot(int actIsHot) {
		this.actIsHot = actIsHot;
	}

	public String getColProgramme() {
		return colProgramme;
	}

	public void setColProgramme(String colProgramme) {
		this.colProgramme = colProgramme;
	}

	public BigDecimal getActPrice() {
		return actPrice;
	}

	public void setActPrice(BigDecimal actPrice) {
		this.actPrice = actPrice;
	}

	public Integer getSaleNum() {
		return saleNum;
	}

	public void setSaleNum(Integer saleNum) {
		this.saleNum = saleNum;
	}

	/**
	 * 浏览人数
	 */
	@Extend
	private Integer  visitorsNum;
	
	
	public Integer getVisitorsNum() {
		return visitorsNum;
	}

	public void setVisitorsNum(Integer visitorsNum) {
		this.visitorsNum = visitorsNum;
	}

	public Integer getColNum() {
		return colNum;
	}

	public void setColNum(Integer colNum) {
		this.colNum = colNum;
	}

	public BizCollage getCollage() {
		return collage;
	}

	public void setCollage(BizCollage collage) {
		this.collage = collage;
	}

	public String getActId() {
			if(actId==null){
			return "";
   		}
		
		return actId;
	}
   	
   	public void setActId(String actId) {
		this.actId=actId;
	}
   	

	public String getUserId() {
			if(userId==null){
			return "";
   		}
		
		return userId;
	}
   	
   	public void setUserId(String userId) {
		this.userId=userId;
	}
   	

	public Integer getActType() {
		
		return actType;
	}
   	
   	public void setActType(Integer actType) {
		this.actType=actType;
	}
   	

	public String getActTitle() {
			if(actTitle==null){
			return "";
   		}
		
		return actTitle;
	}
   	
   	public void setActTitle(String actTitle) {
		this.actTitle=actTitle;
	}
   	

	public Date getActStartTime() {
		
		return actStartTime;
	}
   	
   	public void setActStartTime(Date actStartTime) {
		this.actStartTime=actStartTime;
	}
   	

	public Date getActEndTime() {
		
		return actEndTime;
	}
   	
   	public void setActEndTime(Date actEndTime) {
		this.actEndTime=actEndTime;
	}
   	

	public Integer getActProductNum() {
		
		return actProductNum;
	}
   	
   	public void setActProductNum(Integer actProductNum) {
		this.actProductNum=actProductNum;
	}
   	

	public String getActMainText() {
			if(actMainText==null){
			return "";
   		}
		
		return actMainText;
	}
   	
   	public void setActMainText(String actMainText) {
		this.actMainText=actMainText;
	}
   	

	public String getColIntroduce() {
			if(colIntroduce==null){
			return "";
   		}
		
		return colIntroduce;
	}
   	
   	public void setColIntroduce(String colIntroduce) {
		this.colIntroduce=colIntroduce;
	}
   	

	public String getActCustomForm() {
			if(actCustomForm==null){
			return "";
   		}
		
		return actCustomForm;
	}
   	
   	public void setActCustomForm(String actCustomForm) {
		this.actCustomForm=actCustomForm;
	}
   	

	public String getActRule() {
			if(actRule==null){
			return "";
   		}
		
		return actRule;
	}
   	
   	public void setActRule(String actRule) {
		this.actRule=actRule;
	}
   	

	public Integer getActStatus() {
		
		return actStatus;
	}
   	
   	public void setActStatus(Integer actStatus) {
		this.actStatus=actStatus;
	}
   	

	public String getActInfo() {
			if(actInfo==null){
			return "";
   		}
		
		return actInfo;
	}
   	
   	public void setActInfo(String actInfo) {
		this.actInfo=actInfo;
	}
   	


  
}